﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntMovement.Core.Entity
{
    [Serializable]
    public class AlarmEventArgs : EventArgs
    {
        /// <summary>
        /// 报警信息
        /// </summary>
        public string Info { get; set; }
        /// <summary>
        /// 报警对象
        /// </summary>
        public string Object { get; set; }
        /// <summary>
        /// 报警等级 暂分为 0 1 2 3 0代表正常信息,1代表缺料等机台不暂停仍然报警2代表机台暂停并报警可通过Reset复位,如感应器超时、安全门被打开 3代表严重报警列如急停被拍下、轴报错等
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 报警站号 -1代表整机
        /// </summary>
        public int StationID { get; set; }
    }
}
